package com.leyou.api;

import com.leyou.pojo.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//一级路径配置到网关不需要再配置
public interface UserApi {

    @GetMapping("query")
    public User queryUser(@RequestParam("username") String username,
                                          @RequestParam("password") String password);
}
